package com.mz.ozy.bean;

import java.io.Serializable;
import java.util.List;

public class HomeBean implements Serializable {


    private String xszn;
    private String T;


    /**
     * c2cimg : http://localhost:8089/abc/mall/upload20191227/img/1577428785474.png
     * 返回参数说明 : bannerList(轮播图列表 title(标题),imgPath(图片地址及),ref(跳转连接)),msgList(公告列表 id(公告id),title(标题)),isRead(是否阅读消息 0-未阅读 1-已阅读),msgMap(弹窗消息 id(消息id),content(消息内容)),c2cimg(c2c专题图片地址),xsimg(新手指南专题图片地址),yqimg(邀请好友专题图片地址),productlist(推荐商品列表 id(商品id),tradename(商品名称),type(消费类型 0-通证积分1-消费积分2-通证+消费积分),price(商城价-通证积分),market_price(商城价-消费积分),img_zt(商品主图))
     * bannerList : [{"ref":"7","imgPath":"http://localhost:8089/abc/mall/upload20191227/img/1577426919831.png"}]
     * isRead : 1
     * respMsg : SUCCESS
     * msgList : [{"id":23,"title":"11"}]
     * sessionId : 4C1F5675C30EE9636E2E6D119CB3838C
     * respCode : 00000
     * msgMap : {"id":24,"title":"1","content":"33333"}
     * productlist : [{"tradename":"MacBook","price":"1000.00","market_price":"0.00","id":5,"img_zt":"http://192.168.1.195:9002/abc/mall/upload20191226/img/1577330693610.png,http://192.168.1.195:9002/abc/mall/upload20191226/img/1577330696583.png,http://192.168.1.195:9002/abc/mall/upload20191226/img/1577344778102.png,http://192.168.1.195:9002/abc/mall/upload20191226/img/1577344786602.png,http://192.168.1.195:9002/abc/mall/upload20191226/img/1577344789389.png","type":0}]
     */
    private String username;
    private String c2cimg;

    public String getXszn() {
        return xszn;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getT() {
        return T;
    }

    public void setXszn(String xszn) {
        this.xszn = xszn;
    }

    public String getUseravatar() {
        return useravatar;
    }

    public void setUseravatar(String useravatar) {
        this.useravatar = useravatar;
    }

    private String useravatar;
    private String userphone;
    private String qiNiuyun;
    private String yqimg;
    private String isRead;
    private MsgMapBean msgMap;
    private List<BannerListBean> bannerList;
    private List<MsgListBean> msgList;

    public String getUserphone() {
        return userphone;
    }

    private List<ProductlistBean> productlist;

    public String getQiNiuyun() {
        return qiNiuyun;
    }

    public String getYqimg() {
        return yqimg;
    }

    public void setYqimg(String yqimg) {
        this.yqimg = yqimg;
    }

    public String getC2cimg() {
        return c2cimg;
    }

    public void setC2cimg(String c2cimg) {
        this.c2cimg = c2cimg;
    }

    public String getIsRead() {
        return isRead;
    }

    public void setIsRead(String isRead) {
        this.isRead = isRead;
    }

    public MsgMapBean getMsgMap() {
        return msgMap;
    }

    public void setMsgMap(MsgMapBean msgMap) {
        this.msgMap = msgMap;
    }

    public List<BannerListBean> getBannerList() {
        return bannerList;
    }

    public void setBannerList(List<BannerListBean> bannerList) {
        this.bannerList = bannerList;
    }

    public List<MsgListBean> getMsgList() {
        return msgList;
    }

    public void setMsgList(List<MsgListBean> msgList) {
        this.msgList = msgList;
    }

    public List<ProductlistBean> getProductlist() {
        return productlist;
    }

    public void setProductlist(List<ProductlistBean> productlist) {
        this.productlist = productlist;
    }

    public static class MsgMapBean implements Serializable {
        /**
         * id : 24
         * title : 1
         * content : 33333
         */

        private int id;
        private String title;
        private String content;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }
    }

    public static class BannerListBean implements Serializable {
        /**
         * ref : 7
         * imgPath : http://localhost:8089/abc/mall/upload20191227/img/1577426919831.png
         */

        private String ref;
        private String imgPath;
        private int type;

        public int getType() {
            return type;
        }

        public String getRef() {
            return ref;
        }

        public void setRef(String ref) {
            this.ref = ref;
        }

        public String getImgPath() {
            return imgPath;
        }

        public void setImgPath(String imgPath) {
            this.imgPath = imgPath;
        }
    }

    public static class MsgListBean implements Serializable {
        /**
         * id : 23
         * title : 11
         */

        private int id;
        private String title;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }

    public static class ProductlistBean implements Serializable {
        /**
         * tradename : MacBook
         * price : 1000.00
         * market_price : 0.00
         * id : 5
         * img_zt : http://192.168.1.195:9002/abc/mall/upload20191226/img/1577330693610.png,http://192.168.1.195:9002/abc/mall/upload20191226/img/1577330696583.png,http://192.168.1.195:9002/abc/mall/upload20191226/img/1577344778102.png,http://192.168.1.195:9002/abc/mall/upload20191226/img/1577344786602.png,http://192.168.1.195:9002/abc/mall/upload20191226/img/1577344789389.png
         * type : 0
         */

        private String tradename;
        private String price;
        private String market_price;
        private int id;
        private String img_zt;
        private int type;

        public String getTradename() {
            return tradename;
        }

        public void setTradename(String tradename) {
            this.tradename = tradename;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getMarket_price() {
            return market_price;
        }

        public void setMarket_price(String market_price) {
            this.market_price = market_price;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getImg_zt() {
            return img_zt;
        }

        public void setImg_zt(String img_zt) {
            this.img_zt = img_zt;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }
}
